import instance from '@/utils/request';
export function gettreeapi(data) {
    return instance.request({
        url: "api/Menu/GetPermissionTree",
        method: "post",
        data
    })
}
export function getallPermissionapi() {
    return instance.request({
        url: "api/Menu/GetAllPermission",
        method: "post",
    })
}
export function AddChildnodeapi(data) {
    return instance.request({
        url: "api/Menu/AddPermissionTree",
        method: "post",
        data
    })
}
export function Updatenodeapi(data) {
    return instance.request({
        url: "api/Menu/UpdatePermissionTree",
        method: "post",
        data
    })
}